export default {
  login: body => (['post', '/login', body]),        //  登录接口
  loginOut: () => (['get', '/loginOut']),           //  退出登录接口
  menu: () => (['get', '/menu']),                   //  首页渲染通过查看权限获取
  // 获取用户列表
  userList: () => (['get', '/user/userList']),
  // 用户列表模糊搜索
  searchUserList: body => (['post', '/user/searchUserList', body]),
  // 用户冻结账号
  userIco: body => (['post', '/user/userIco', body]),
  // 获取黑名单列表
  blackUserList: () => (['get', '/user/blackUserList']),
  // 黑名单列表模糊搜索
  searchBlackUserList: body => (['post', '/user/searchBlackUserList', body]),
  // 黑名单解除冻结
  blackUserIco: body => (['post', '/user/blackUserIco', body]),
  // 点击编辑获取对应数据
  getSetUser: body => (['post', '/user/getSetUser', body]),
  // 编辑之后确定,修改数据库数据
  setUser: body => (['post', '/user/setUser', body]),
  // 添加用户
  addUser: body => (['post', '/user/addUser', body]),
  //  修改密码
  setPwd: body => (['post', '/user/setPwd', body]),
  // 获取角色列表
  roleList: () => (['get', '/role/roleList']),
  // 角色列表模糊搜索
  searchRoleList: body => (['post', '/role/searchRoleList', body]),
  // 冻结账号
  roleIco: body => (['post', '/role/roleIco', body]),
  // 点击编辑获取对应数据
  getSetRole: body => (['post', '/role/getSetRole', body]),
  // 编辑之后确定,修改数据库数据
  setRole: body => (['post', '/role/setRole', body]),
  // 添加角色
  addRole: body => (['post', '/role/addRole', body]),
  // 角色列表黑名单解除冻结
  blackRoleIco: body => (['post', '/role/blackRoleIco', body]),
  // 通过roleid获取查看权限列表
  getmenulimitsData: body => (['post', '/role/getmenulimitsData', body]),
  // 获取班级列表
  classList: () => (['get', '/class/classList']),
  // 班级列表模糊搜索
  searchClassList: body => (['post', '/class/searchClassList', body]),
  // 开课
  startClass: body => (['post', '/class/startClass', body]),
  // 冻结账号
  endClass: body => (['post', '/class/endClass', body]),
  // 添加班级
  addClass: body => (['post', '/class/addClass', body]),
  // 学校数据获取
  getSchoolList: () => (['get', '/school/getSchoolList']),
  // 搜索学校列表
  getSchool: () => (['post', '/school/getSchool']),
  // 获取学生列表
  getStudentList: () => (['get', '/student/getStudentList']),
  // 获取学历列表
  getEducationList: () => (['get', '/student/getEducationList']),
  // 学生列表模糊搜索
  searchStudent: data => (['post', '/student/searchStudent', data]),
  // 学生列表点击编辑 获取数据 形成默认值
  getSetStundent: body => (['post', '/student/getSetStundent', body]),
  // 编辑之后确定,修改数据库数据
  setStudnet: body => (['post', '/student/setStudnet', body]),
  // 添加学生列表
  addStudent: body => (['post', '/student/addStudent', body]),
  //  获取所有教师数据
  getTeacherList: () => (['get', '/student/getTeacherList']),
  //  获取所有辅导员数据
  getCoachList: () => (['get', '/student/getCoachList']),
  //  获取模板列表
  templatelist: () => (['get', '/template/list']),
  //  上传文件
  templateupload: (body, headers) => (['post', '/template/uploadfiles', body, headers]),
  //  添加文件
  templateadd: body => (['post', '/template/add', body]),
  //  下载文件
  templateDownload: body => (['post', '/template/download', body]),
  //  模板列表模糊搜索
  searchTemplateList: body => (['post', '/template/searchTemplateList', body]),
  //  录屏数据获取
  getScreenList: () => (['get', '/screen/getScreenList']),
  //  录屏列表模糊搜索
  searchScreen: body => (['post', '/screen/searchScreen', body]),
  // 添加录屏列表
  addScreen: body => (['post', '/screen/addScreen', body]),
  //  座位表渲染
  getSetList: body => (['post', '/student/getSetList', body]),
  //  记录列表
  logList: body => (['post', '/log/logList', body]),
  //  获取课堂情况
  classLogList: body => (['post', '/classLog/classLogList', body]),
  //  添加课堂轻情况
  addClassLog: body => (['post', '/classLog/addClassLog', body]),
  //  课堂记录选项卡
  searchClassCase: body => (['post', '/classLog/searchClassCase', body])
}
